package com.mxpio.erp.common.equipment.service;

import com.mxpio.erp.common.equipment.entity.EquipmentCheckDetail;
import com.mxpioframework.system.service.BaseService;

import java.util.List;

/**
 * @Description: 点巡检标准明细
 * @Author: jeecg-boot
 * @Date:   2021-09-15
 * @Version: V1.0
 */
public interface EquipmentCheckDetailService extends BaseService<EquipmentCheckDetail> {

	public List<EquipmentCheckDetail> selectByMainId(String mainId);

    /**
     * 从公共参数中选择添加明细
     * @param equipmentCheckDetail
     */
    public void saveFromParams(EquipmentCheckDetail equipmentCheckDetail);

    /**
     * 从公共参数中选择编辑明细
     * @param equipmentCheckDetail
     */
    public void editFromParams(EquipmentCheckDetail equipmentCheckDetail);


    /**
     * 删除明细以及明细选项
     * @param detailId
     */
    public void deleteDetailAndParams(String detailId);
    /**
     * 批量删除明细以及明细选项
     * @param detailIds
     */
    public void deleteBatchDetailAndParams(List<String> detailIds);
}
